package com.sunny.design.adapter.login;

import com.sunny.design.adapter.ResultMsg;

public class LoginForQQAdapter implements LoginAdapter {

    public boolean supports(Object adapter) {
        return adapter instanceof LoginForQQAdapter;
    }

    public ResultMsg login(String id, Object adapter) {
        return new ResultMsg(200, "QQ登录", "登录成功");
    }
}